/*
 * View.fx
 *
 * Created on 06-may-2009, 18:27:14
 */

package webooksfx.view;

import javafx.scene.CustomNode;
import javafx.scene.Node;

/**
 * @author Administrador
 */
abstract public class View extends CustomNode {
	protected var node: Node = null;

    /**
    * Vuelve visible el stage
    */
    public function show() : Void {
        node.visible = true;
    }
    /**
    * Oculta el stage
    */
    public function hide() : Void{
		node.visible = false;
    }

	public function showException (msg: String) : Void {
		println("View.showException: {msg}");
	}
}
